// 继承 Thread, 重写 run
package test.test02.MyThread;

public class MyThread01 extends Thread{
    @Override
    public void run(){
        // while(true){
        //     System.out.println("MyThread01 运行");
        // }
        System.out.println("MyThread01 运行");
    }
    public static void main(String[] args){
        MyThread01 t = new MyThread01();
        t.start();
    }
}